Simply set the CSS style attributes of the collapsible panel to be Height = 0px; overflow: hidden;
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.