Implemented mouse event with jquery ui mouse to get along with the draggable plugin.