Add hook for when a slide is hiding

Found for my fancier slides I needed to do some cleanup (stop animations,
etc.) This hook was the clearest way I could see to plumb that through.
Much better term. Will update that.