overlay, height self adjustment