added onSlideClick callback