wrapper dimensions, scale viewport