Add expand / collapse distinct link