fix issue with dropdown menus in collapsed navbar for static pages