resize event sometime is not fired on IOS