get categories and add accordion