Add possibility to expand and collapse the groups