onNextSlide callback
Class name should be configurable