get categories and detailView init