Call stop function on drag end