Sticky Header

** Note: PageProofer seems to delay the site load, that is why the logo is kind of popping in abruptly. It is much smoother without it. **

Rough example of a sticky header functionality. Scroll the page to see it in action. I also wrote in a check to see if the page is refreshed after having been scrolled so the header will start in “scroll state.