I have a situation where I need to delete the top-most divs in a document without causing any changes from the user's perspective. Basically, I need to go from:
---------top of document
div1
div2
div3
---------top of window
div4
div5
---------bottom of window
div6
div7
---------bottom of document
to:
---------top of document
div3
---------top of window
div4
div5
---------bottom of window
div6
div7
---------bottom of document
What would be the best way to accomplish this transition in a manner that doesn't cause the user to see div4 and div5 make any movement?