adds new events before/after a slide is hidden or displayed (useful for triggering custom code)
adds support for slideshow.pause()/.resume() API call (allowing user to handle keyboard events themselves)