hashchange fallback for popstate