Updated navbar for app mode
Javascript for app mode