update codemirror sizes