set viewport scale