Adjust viewport with respect to ios version