It could also be your poor abdominal muscles - they separate down the centre and move to the sides, as far as I am aware. If you are not careful to NOT use them (ie sitting up from lying without pushing yourself with your hand but relying on your abs) then they can hurt quite a bit. My guess would be the abs or some sort of ligament pain.