title: Detect when browser window has been resized from certain size to a larger size?
body: <p>I want to reset a particular element once the browser window has been resized from any size less than 641px, to a greater size. Here is an example of what I am trying to achieve, written in pseudo code:</p>
  
  <pre><code>if (browser.window &lt;= 641px &amp;&amp; browser.window.resizedTo &gt; 641px) {
    $( ".foo" ).removeClass( "bar" )
  }
  </code></pre>
  
  <p>Thank you!</p>