Linking to expanded diff note collapses the diff note
Seems we must be just toggling the collapsed state of the diff notes when we find there is a note anchor.
This means linking to a expanded diff note will collapse the diff note when it scrolls you to it.
https://dev.gitlab.org/gitlab/gitlab-ee/merge_requests/511/diffs#note_103644