Add alignWithTop flag to indicate rect should be scrolled to top of view

This mirrors the HTML flag of the same name:
https://developer.mozilla.org/en-US/docs/Web/API/element.scrollIntoView
Merge pull request #778 from peitschie/scroll-to-top

Add alignWithTop flag to indicate rect should be scrolled to top of view