Added beforePrev and beforeNext call

Add new options / calls to allow custom transitions