modify ui viewport