viewport changes to io

Signed-off-by: rich sollenne <rich@sollenne.com>