fix #561 for links without sublinks in bootstrap nav

links without sublinks shouldn't have dropdown class
closes #561