added new switches for following and rotation freeze