added active class to local
modified nav active methods