My baby jumps a lot

Michelle
Ok my baby is 2 months and a half he is jumping a lot in his sleep and naps. I was taking while pregnant seizure Medicaitions which they were approved per Doctor to take. But can this be the cause of him jumping so much???? Someone please tell me.