Reordered the markup so search bar collapses into the dropdown for mobile devices