requestAnimationFrame isn't necessary, as the periodic height adjustment is very low priority.