peachananr/onepage-scroll — pull request #32 by bluefirex (2013-10-12 13:47:01+00:00)
Title: Add callbacks: onBeforePageSwitch, onAfterPageSwitch, onPageJump

This adds three much-needed callbacks. They are used this way:

````javascript
onBeforePageSwitch: function(oldPageNr) {
// do something
}
````

````javascript
onAfterPageSwitch: function(newPageNr) {
// do something
}
````

````javascript
onPageJump: function(oldPageNr, newPageNr) {
// do something
}
````