added rotation functionality for ControllerCanvas