add computeheight on resize