fix event bug
Merge pull request #17 from mescoda/fix-scrollbar

fix event bug