javasciprt for drag and drop "swipe"