You can also bicycle their legs and gently push them back and up towards their head. (annapolisareadoulas.com)
So when he was alert, I dangled toys for him to swipe at, bicycled his legs while he giggled and cooed, and blew endless raspberries. (romper.com)
You can use infant massage techniques, diet change, warm baths, bicycle leg exercises, and rehydration to battle baby constipation... but in your situation I truly do think it's emotional and caused by unintentional potty - centeredness. (godiaperfree.com)