make sample editor resizable, first step