Collapse and decollapse in acute respiratory distress syndrome