Not possible to change from hidden to collapsed state
Created by: orrc
The public collapsePanel() method does nothing if the state is COLLAPSED (which is understandable), but also if the state is HIDDEN.
It would be useful to be able to animate into the collapsed position when the panel is hidden.