ensure members retain state when toggling groups