Implementing start and stopDrag callback functionality