private void updateArrow(int x, int y) {
Element arrow = getView().getArrow();
CSSStyleDeclaration style = arrow.getStyle();
HorizontalAlign alignment = positionController.getPositioner().getHorizontalAlignment();
style.setLeft("auto");
style.setRight("auto");
if (alignment == HorizontalAlign.LEFT) {
style.setLeft(-(x * 2), CSSStyleDeclaration.Unit.PX);
} else {