swiper bugfix: states
swiper destroy function added