Add function to flip pair of windows.