Fixed problem if scroll container had padding.

If container has padding, height is wrong (calculated without it). This pr fixes this.