at the far end of the room an old mattress lay on the floor , with an oilcloth crumpled at one end , as if someone sleeping there had been using it as a makeshift blanket and had shoved it off when they rose .