Added rotation to Animation.