State persistence

The expand and collapse state of row and column headers are maintained during every UI interaction.