A popupwindow with arrow,the arrow is dynamic