Nav pill active fix

Selecting new nav pill will now correctly apply active class.