How do I make the $(window).height() doesn't go below what it started at?
<p>I am trying to console.log the window height with this code here:</p>

<pre><code>var $win = $(window);
$win.on('resize', update);
function update () {
    console.log($win.height());
}
</code></pre>

<p>It sort of works, but it wont go below the height of my largest element. How can I make it so it will?</p>
