use a prebuilt lib for swipe