ethereal,
var timer;
var owl = $('.owl-carousel').owlCarousel({
onTranslated: function(event) {
window.clearTimeout(timer);
var page = event.page.index;
var stage = $('.owl-stage', owl).addClass('new-class1');
var items = $('.owl-item', owl).removeClass('new-class2 new-class3 new-class4');
var active = items.eq(page).addClass('new-class3');
active.next().addClass('new-class4');
active.prev().addClass('new-class2');
timer = window.setTimeout(function() {
items.removeClass('new-class2 new-class3 new-class4');
stage.removeClass('new-class1')
}, 2000)
},
loop: true,
margin: 10,
nav: true,
loop: false,
responsive: {
0: {
items: 1
}
}
});