birth control pill random bouts of vertigo?

I'm assuming it has something to do w the pill I just started it Sunday and just now I was sitting In my room and it felt like everything just tilted to the side like I was jolted that way and the room was spinning it only lasted a second but was pretty scary. could this be a side effect?