fixed popup window placement and size.