Removing click event after drag