Sorry ... mispelled "dystonia" = the curling toes you asked about....
Ever since I bought a heating pad that goes across the foot of my bed, my leg pain during the night has gone down to tolerable, the overnight distonia in my feet has lessened, and I sleep better....