added logic for 'active' class in <li>'s on navbar
refactored navbar into partials