Adding hooks for 'beforeNext' and 'beforeBack'
Merge pull request #9 from clocklear/master

Adding hooks for 'beforeNext' and 'beforeBack'