fires when the input folding/unfolding animation ends
$$("comments").attachEvent("onTransitionEnd",function(){ // your code here });