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

Abandoning this in favour of pull-request-ing a topic branch. Still getting the hang of this github stuff ;-)