When did you stop sleeping while pregnant?

I'm currently 20 weeks. I've slept really well up until now. I normally fall asleep fast but I cannot fall asleep lately. I toss and turn a lot because my IT bands/hips ache. Little baby is kicking at night too! Ah I just want to fall asleep!!!!