changing the viewport