add docs for the viewcategory event