added a melee attack animation to the player