add cube animation