Made metadata panels layout dynamic