resize popupwindow