reinit swiper on resize of window