fix spacing issue for portraits on safari ipad