Incorporated a jQuery UI function to track the drag stop event of ui elements.