cancels rotation when not moving