dynamically added active class to navigation list items