Could be a simple inner ear or sinus related problem since it only happened why you were laying down.

Dehydration and a lack of potassium in your body can make you feel dizzy too.