Sonogram

Had my 20 week sonogram/anatomy scan yesterday and the ultrasound tech shook my belly with the wand to get my baby to move so she could get a glimpse of something. Is it normal to have them shake your belly? Does it hurt baby?