Chrome popstate fix