Generalized the drag event for all dom elements with classname "draggable"