adds dropdown menu on nav bar for small screens