T.V.
When my son was little he would do the samething, I talked with the doctor about it and he suggested we place a foot stool under his feet as he went poo because he said some little ones may feel like they are losing themselves when they are going poo...... I know I know it sounds weird, however I have to say it worked and now that my son is in his teen years we can laugh about it.