Added support for collapsing tables inside panels.