creates a flyout menu