center control panel content with flex