Scroll to bottom of page, only if the user already was at the bottom before DOM manipulation
<p>I'd like to learn how to use <code>window.scrollTo</code>.</p>

<p>Here's is the desired behavior:</p>

<ol>
<li>Determine if the user is scrolled to the bottom of the page, or no scroll bar is visible</li>
<li>Then I want to grow a DIV, this is working</li>
<li>If #1 was true, use <code>window.scrollTo</code> to scroll to the bottom of the page after the DIV has grown which changed the window height.</li>
</ol>

<p>Ideas?</p>
