setting editor up to scroll