Visibility collapse and overflow

Collapsed row should not contribute to overflow

Collapsed section should not contribute to overflow