A UIView subclass to play animation using a sprite sheet.