Navbar 'active' class dynamically assigned