added draggable functionality