the tamer risked moving one hand from the flute to make a gesture , and at the sign a light flashed in the treetop overhead , just before a ball of fire swooped down over the wolf and curved back up into the air .