repositions popup window