added viewport setting