implement cat cursor movement controls