P.R.
My baby did the same thing when I was pregnant, and he's 10 months old now and totally normal. I think its just thier nervous system developing, at least thats what i read when i was looking up the same thing when i was pregnant. They get the same 3 second spasms in thier legs sometimes too, after they are born.