Synchronize scrolling position of editor and the scrollbar handle