Improved dropdown positioning