Scroll to top
With single page apps, if the user has scrolled downwards and clicks a ReactRouter Link
to navigate to a new page the viewport will remain scrolled down. This is a thin wrapper to scroll the page to the top when the browsers history state changes.s