Collapse all Text styles and all groups in the Variables windows

There is no easy way to collapse all text styles and groups in the variables window. Even adding Option/Alt click ability like you can for the Layers panel would be helpful.