change size of viewer