add swipe js