Cursor now positions correctly vertically.

Just need wrap to go around.