refactor handler
set active link based on route, not click action