fix popup boxes position