added a bunch of jQuery UI stuff to get drag-and-drop to work.
also, drag and drop is now implemented!