Repositionning popover - then check if it fit in the screen