motivated to fixup min/max width/heigh on codemirror