add active links management on route change