added walk animation and idle state