create layout of category