It seems a little bit unbelievable but recent research suggests that the tail wagging to the right indicates positive feelings or that your dog is relaxed.
When they do start to let go and their body starts flapping in the air like a flag, smaller back legs reduce the drag, and allow them to cling on and survive the hurricane.