added the categorypanel in the layout