add handleDrag for cardView