Optimized rotation animation