optimizing dropdown-width