Fix document scrolling bug
Merge pull request #19 from dabbler0/scroll-fix

Fix document scrolling bug