added explanation to a complicated map function
added draggable interface to clickable-doc class