made working leaflet swipe