Change width calculation of drop-down menu options.

When options are narrower than container set width as usual.
When options are wider than container set width of options to auto.