Improve rotateBackwards to have CSS transition