Changed walking mechanism to toggle triggered