Added code to animate the image view using a CGPath instead of an array of keyframe points.