Something "flipped on its head" has been figuratively turned upside down. It has been altered so profoundly that up is down, left is right, and a person's expectations have been completely overwhelmed.
Ex.: "Social media has turned the communications business on its head." Social media has revolutionized the communications business.