Fix rounding error

If this isn't rounded and the element height doesn't divide exactly into the container height, the element pagination doesn't work later on.
Merge pull request #4 from esteluk/master

Fix error with pagination