fix for ipad portrait