Seems like animating the flip would be a complex scenario.
Without the animation, you could simply just draw a line over the container with text