Improved the layout of the metadata panel