Invoke beforeMove when clicking on the pagination buttons

When clicking on the pagination buttons the `beforeMove` should be also fired before start scrolling
Merge pull request #62 from lipis/patch-1

Invoke beforeMove when clicking on the pagination buttons