Added option to set viewport size on page