3d flip transitions