Just use screen height. As soon as there is enough space there should be no problem with displaying the toolbar.
Just use screen height. As soon as there is enough space there should be no problem with displaying the toolbar.