popup positioning now takes into account not only browser window but also parent scrollers