added background-color changes logic to nav.js + font color