dialog swiper revised