use proper viewport class