Flips through a list of images to create an animation.