title: Resize effect only works when resizing from a small window to a larger window and not other way round
body: <p><a href="https://jsfiddle.net/uk2p7m6z/4/" rel="nofollow">https://jsfiddle.net/uk2p7m6z/4/</a></p>
  
  <pre><code>  $( window ).resize(function() {
     if ( $(window).width() &gt; 630) {
     $("#home-right").css({'height':($("#info_section").height()+'px')});
     }
  
   });
  </code></pre>
  
  <p>I am using the code above to cause the height of a particular div (#home-right) to be the same size of another div ("info_section) at windows which have a size larger than 630px.  This works when resizing from a smaller window to a larger window, but not the other way round.  What is a possible solution?</p>