Set cursor while moving