Expand the drop down upwards if there is more space above the dropdown than below.