fixes #xxx : using history.pushState to add the hash before scrolling