Made the player animation to switch back to Idle in the current direction so that the player did not walk in place.
Added in the code to allow the user to specify if an animation if finite. But is NOT being used to only run the animations as finite.