updating menu formatting to prevent divs expanding more than desired