changing viewport settings