add function of toggle draw curve point