set viewport on tutorial