Adding check for which controller is active.

Navbar li is active when particular controllers are active.