Library for creating collapsible settings panels