added isActive root detection

highlights appropriately if you have a root link wanting active class.