To insert slide dynamically for swiper