A function to reset the rotation velocity