Adding demo code to show text flipping.