Fixed #24 for horizontal scrolling
Merge pull request #84 from queryselector/issue-24

Fixed #24 for horizontal scrolling