adjusting viewport