Scientists now think dinosaurs wagged their tails while running, much like modern animals do. The movement likely helped them stay stable at high speeds.