deTo(activeNav.index() - thumbsPerNav); } else { previewSwiper.slideTo(activeNav.index()); } } }