Outline sync to scrolling in document

Syncs the outline to the scrolling in the current editor

@devoncarew @ussuri 

Fixes #1271