Fixing main page activation after entering invalid hash
Scroll to top on page change