Set options.replace true in popstate handler