make editor panel not disappear on small monitors

https://www.pivotaltracker.com/story/show/57874740

horizontal scrollbar will show up if the window is too small to render the editor properly.