got rid of the extra div in sortCategory