add swiper directive using idangerous swiper