Improved pushState so that it scrolls to where you last were on refresh. Also resizing the browser window now works better