fixes issue after navbar is collapsed, dropdown-menus on uncollapsed menu are no longer visible