addition to e6dae747cfc28b4d80f5414b0ad9e365282bc858
introduce optional navbar switch parameter. closes #83