Fix scroll position on transition

On long pages, if you're scrolled half-way down and then transition to a different route, you will still be at the same scroll position (since it's not an actual page reload). This fix ensures you are scrolled to the top whenever the route changes.