Scrolling issue

Using history.pushstate instead of location.hash fixes the issue that hides the title of a section