Added some comments on lines that confused me. Removed redundant resize on scroll. If this is a browser compatibility issue (maybe browser X fires scroll preemptively) let me know and I'll add a comment.
Added some comments on lines that confused me.
Removed redundant resize on scroll. If this is a browser compatibility issue (maybe browser X fires scroll preemptively) let me know and I'll add a comment.

R=neil.fraser@gmail.com

Review URL: https://codereview.appspot.com/12537044

git-svn-id: 2cf55447cea94972d775c94cce66c944ede0459c@1188 c400ca83-b69d-9dd7-9705-49c6b8615e23

tobyk100/blockly-trunk,tobyk100/blockly-trunk,tobyk100/blockly-trunk,tobyk100/blockly-trunk,tjpalmer/blockly,tjpalmer/blockly,Khan/blockly,Khan/blockly