Added active menu item highlighting function