make character use walking animation while moving