cleanup tasks, flyout positioning