update viewport for iphone