Improve spinning cube animation.