changing viewport maximum scale