Added swipe, updated js