Consider using replaceState here?