moved viewport size to its own control