Update docviewHtml5 viewHeight calculation.