IT'S THE SHIP THAT FLIPS.
In fact, this Floating Instrument Platform (FLIP) is the only vessel in the world that can operate both horizontally and vertically at sea, to make it easier to study the ocean. The ship is the creation of the Scripps Institution of Oceanography at the University of California.
The insides, including the crew quarters, are designed in such a way that they can be used whatever position the ship is in. Probably best not to be in the bathroom when it flips, though...
OUT FOR A SPIN: The ship takes a turn for the spectacular so that it can operate vertically WENN