Added an oscillation controller for rotation