changed viewport to scale