Fix anchor position bug with Turbolinks page:load event.
Example:
https://gitlab.com/gitlab-org/gitlab-ce/issues/15533#note_4991782
- Try to open this URL by new window. [Correct]
- Try to directly open it. [Incorrect]
Example:
https://gitlab.com/gitlab-org/gitlab-ce/issues/15533#note_4991782