Factor out scrollIntoView plugin, and replace it with another one developed for Flow and now included in MediaWiki.

TODO: Include it somehow?