do not use popstate until i can implement a solution working in chrome