add disable switch for rotationControl