make api accordion collapsible