pause walking animation when stopped