modified template&views to show subjects in navbar

This includes showing DE as highlighted for Gates pages and OS highlighted for Process States and Process Scheduling pages.
Even the quiz& video page has the new dynamic navbar.