editor horizontal scrolling fixes