ivaynberg/select2 — pull request #190 by Lightw3ight (2012-07-05 23:38:42+00:00)
Title: Made dropdown respect available space

Updated positioning logic of dropdown so that it will appear above the
input box
a) if it wont fit under the input box
b) if it will fit above the input box

also added new CSS class that is applied to the drow down if it is
rendered above the inout box