CSS issue on combo box.

please help me to solve these CSS issues.

Figure 1 :
clicking in combo, by default it is opening downward but if it is the last row in the dhtmlx div then it should open upward.

Figure 2 :
If the combo is open and the user scroll the scroll bar then the combo is not moving…
i want to close it , when user scroll.

Same things is happening with text area.
Thank You

i got the solution of 2nd figure
that is,

Please help me to solve the first one…
Thank You

Regarding first picture, this is known limitation. “coro” eXcell type always opens down.