initialize the resize
tweaks to viewport sizing