change cube to have a container so flip animation is smoother