Added rotation support with animation