add maxScrollbarLength
Merge pull request #174 from ivan1986/patch-1

add maxScrollbarLength.