Set window.location.hash to current position.

So that the page can be refreshed without losing the current position
and also bookmarked.