Being refactoring collapsiblePanel