Probably just fine
This is a really common thing.
It almost feels like your baby is having seizures. That is really unlikely. Usually, it is a burst of movement as your baby finds a comfortable position. As long as your baby is still moving well, there is little reason to worry. If your baby isn't moving at all or is moving a lot less, you should be seen by your doctor.