added animation for the player