Fix back button by using replaceState instead of pushState