handle firfox popstate on page load