move a cursor around