positioning controls with resize event