collapse categories to make plots clearer