handle flyout positioning