use proper viewport