To continuously bend and straighten your head or waist.
To grovel subserviently to someone to win his/her favor.