I SYMPATHIZE my legs were cramping and twitching the table was like iron ACK!!! It was very painful. I just got results see my optehrposts! I feel for you!
Yes ,It's nerve related problem,When you lying down , the spine would to be more straight , therefore, will reduce the volume of spinal channel, then give more stimulation to nerve root and cause your symptoms.