setDirection

sets the direction of the rotation animation.