Function to toggle single window in a frame.