Thanks!

Is there a way to make the state persistent?
If I save the notebook with some cells hidden and then load it again from disk, all cell pairs are expanded again.