switch swiper to domcontentloaded