Fixes to the ipad portrait mode