fixed scrollbar in editor

closes #678