manual viewport example