fixes codemirror resize height issue