Back in my day, we called this a srimech, and "flipping" was a word we used even when we weren't substituting for swearing.