remove jquery and refs to lists
added dragging for color selection