i think this is because you have slept *overtime*. I have experience that before too. I think this is because your body have rested enough but your muscle wanted to move, however, you are still sleeping, so when you wake up, the luscle are a bit too relax.