getting some dynamic proportional resizing to work