fix styles in portrait on ipad