added viewport scale