improved editor scrolling