when the sprite stops it returns to default and dosent stay in the direction it was facing.