example of box flipping, fading, and rotating in