dropdown and navbar-collapse work as required