Fix for OnPageChangeListener callbacks.
Fix for issue #5
Merge pull request #4 from lavallc/master

Fix for issue #5 and issue #10.