Better active matching (and more control on how links are displayed)