Added adjustment for scroll position for fixed masthead on page load and hashchange