fixing the viewport