adjusted placement of pop up boxes