added the sprite animation