Honestly speaking, I’m not sure what’s going there. A native teacher should decide.
But before that we can make a guess:
There seems to be a religious program on TV. Dancer says the program is nonsense and I think he turns off the TV.
Piggy is surprised at Dancer and doesn’t understand what Dancer means, and Dancer himself knows that, but he (Dancer) loses control of himself and turns off the TV, because he is upset and annoyed. So, “him” seems to refer to Dancer.




