Added collapse to main table