added checkbox state retention of expanding of unopened rows