hi there,
It is possible that this feeling you were experiencing was a seizure or an aura for one. Amazingly I can have seizures without realising (Such as when im asleep) so maybe this is the case and might explain why you didnt sleep very well. It could be many other things though... Is it something you are really worried about or is it an annoyance? If you are really worried, I would see your doctor as soon as possible. Otherwise it might be worth seeing if it happens again. If it happens again (especially in a short period of time) its definately a job for the doc. Let us know how you get on.
Darren