set the viewport