swiper and phonegap integration