Support for automatically setting the height

of the scroll area to the parent element. Based on the original commit
b613f22a0383c65060a0798f65845b6f72a11ea3 @chrismi