Documentation updated 

Added the event onSlideLeave for the complex initialization.