added height change handling
Merge pull request #7 from H1D/iscroll

added height change handling