replace scrollHeight with .prop('scrollHeight')

scrollHeight is undefined for initial call. 'onInitialize': true has no effect