click a category to view