Added collapse/expand to analysis sidebar

.. to collapse/expand for whatever is grouped by.