Added the motion of moving on not infinity mode.