Navigating to local URL fragment doesn't modify browser history

I think pushState in this case. The goal is to enable back-to-previous-position, which requires a push to history because the event is prevented.