title: Reset scale/width/zoom of Safari on iPhone using JavaScript/onorientationchange
body: <p>I am displaying different content depending on how the user is holding his/her phone using the onorientationchange call in the body tag. This works great - I hide one div while making the other visible. </p>
  
  <p>The div in portrait mode looks great on first load. I use this to get the right scale/zoom:</p>
  
  <p><code>&lt;meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;" /&gt;</code></p>
  
  <p>Even if the content in portrait mode run over, the width is correct and the user can scroll down. The display in landscape mode is perfect too. However, if content in landscape mode requires the user the scroll down, then when the user returns to portrait mode, the screen is "zoomed out" so to speak. This happens whether or not the user scrolled down while in landscape mode.</p>
  
  <p>I've tried many different things to try to get the scale/zoom/width of the screen right, but no luck. Is there any way to do this?</p>
  
  <p>Thanks in advance!</p>