Added fixes for portrait screens to center the box
Added a fix for portrait screens