changes viewport settings