Rotate/flip frame.