use offsetHeight to reflow