added setting of global variable to determine active element in navbar
added basic navbar