fixing mobile cube animation