Fixed initial page load with pushState creating an extra entry in history by using replaceState.
Fixed issue with moving forward and back in history causing page to jump when anchor hash is present in URL.