switched data panel to using flexbox