Some roll out a berth forward, others are laid out, using the entire surface for sleeping, including the one that was a back.
Such rolling sofas are inexpensive and take up little space, despite the fact that in the unfolded form the sleeping surface is quite large.