made arrow keys work consistently in normal and insert mode