Added support for dynamic height vertical scroll by html page numbers