Adding expand/collapse buttons.