fixed the layout auto height with the browser adjustment