I've committed some code to the tip of oacs-5-1 that makes the Groups portlet collapsable for browsers supporting javascript. Browsers without javascript will see a static tree.
Files affected:
/packages/dotlrn/www/dotlrn-main-portlet.tcl
/packages/dotlrn/www/dotlrn-main-portlet.adp
/packages/dotlrn/www/dotlrn-master.tcl
/packages/dotlrn/www/dotlrn-master.adp
/packages/acs-templating/www/resources/bullet.gif
/packages/acs-templating/www/resources/minus.gif
/packages/acs-templating/www/resources/mktree.css
/packages/acs-templating/www/resources/mktree.js
/packages/acs-templating/www/resources/plus.gif
More detail on the "mktree" dhtml tree library may be found here:
https://openacs.org/forums/message-view?message%5fid=284521