adding drag and drop.
TODO: sort out the logic that groups the topics