Add beforeSlideChange callBack

Just to be able to call a custom method when the new element is about to slide in.