Parsing msgs.height() as int since float values sometimes get returned in Chrome. This was fixed in order to get the scrolling to work in chrome.
Merge pull request #3 from zipfworks/scroll

Fix for automatic scrolling in Chrome