updated behavior and styling for dropdown menus