Akela and Gray Brother ran to and fro nipping the buffaloes ' legs , and though the herd wheeled once to charge up the ravine again , Mowgli managed to turn Rama , and the others followed him to the wallows .