Fix for automatic scrolling in Chrome

jQuery height() returns floats in Chrome 28.0.1500.95 on Ubuntu 12.04. This breaks the automatic scrolling.

![Screenshot](http://i.imgur.com/w2ktoD9.png)