position of popover menu is now correct even when window is scrolled