Using replaceState instead of pushState.