Adjust dropdown position after dropdown height is changed