finish MoveDistance command with acceleration function