wrap panel-body in a collapsible. This makes the animation perfectly smooth