added proper viewport