flex box for the panel