scrolls to top when rerouting

also renames scrollToHash into setScroll since it's more generic now