Char sprite changes direction and stops walking animation when still.