Added cursor movement