Added code to modify trends accordion based on category selected