Add callbacks before/after slide transitions