animation frames for sprites
added code to animate sprites