Added support for collapsing tables on results page