select: detect max window height available; set as popup max height
select: detect max window height available; set as popup max height

This updates the select to, if no max height setting has been given,
to detect the amount of window height available and to set the
dropdown popup max height to that value.

This keeps the select popups from growing beyond the window and
making options not selectable.

redding/romo,redding/romo,redding/romo