componentDidMount() {
window.addEventListener("resize",function(){
if(window.parent.setIfHeight){
window.parent.setIfHeight($("#children").height());
}
});
$("#root").bind('DOMNodeInserted',function(e){
if(window.parent.setIfHeight && window.parent.innerHeight < $("#children").height()){
window.parent.setIfHeight($("#children").height());
}
});
}