cannot you just remove the height value and leave it blank ? `this.element.css("height","");` ?