fix ipad layout