title: Javascript get mobile screen width after orientation change
body: <p>I am capturing the <code>orientationchange</code> event like this:</p>
  
  <pre><code>            $(window).bind( 'orientationchange', function(e){
  
              });
  </code></pre>
  
  <p>How can I get the new screen width and height in pixels after the <code>orientationchage</code>?</p>
  
  <p>I have tried <code>screen.width</code> but this doesn't change, it remains as the initial width, even after orientation change.</p>