toggle on category clicks functional