refs #846 - implemented collapsible panels for rest-new.