adding the viewport