Fixed popover disappearance bug when swiping between routes