CodeMirror height
image pans along with cursor