add callback functionality via plugin options

I've added a set of callbacks that enable the user to add functionality before and after the PageSlide closes and opens. As is standard, these callbacks are enabled via the options system of the plugin.