resizeFrame() now easier to use