added animated movement for the player