add function "addLayout,removeLayout,addDrag,removeDrag"