Before-slide-changed event on slide-box



I would need an event, that fires before slide change. (There is only event that fires after slide has already been changed) Or is there some other way to manipulate slide order in runtime? (For example if i would like to change slide from second to fifth, when swiping)



So, can anybody suggest how to manipulate the order of slides in slide-box in runtime? There must be a way…