Added an option to set the content for the expand/collapse buttons