made viewport scalable and no max