Expand and collapse in applet view

I have an application in which some applet views are categorized. Clicking on twistie when the category is expanded collapse all instead of collapsing the category only.

Does anybody know why and how to workaround it?

Thanks in advance.

Stefano