make editor resizable