fixed slidechange event
Merge pull request #2 from npbenjohnson/patch-4

fixed slidechange event