I agree. Contempt of court should only apply if a person is not willing to follow the judges orders or in the most extreme cases of verbal abuse. I think it is fundamentally immoral to sentence a person to jail for something as petty as an obscene gesture.
Further, wasn't there a recent court case that held flipping off the cops wasn't a punishable offense? Because that should also apply to judges.