Synchronizes scrolles of the editer and the preview.