This change uses only children of current view when searching for a target to scroll on top.
This is useful when having several Open Assessment on the same pages (and thus with the same html ids).
have a look on it
please have a look at this pull request.
cc