Fix CollapsibleGroup Interference

CollapsibeGroup was sharing collapsibles array with all other
CollapsibleGroups. So it would close collapsibles that aren't even
in the same group.

Uses refs instead of an array to access child nodes. Wanted to discard
index as well, but ref disappears so I can't use it to compare.