now centering editor on cursor when moving