make viewport and scroll parameters