create category or subcategory from home state. layout changes for smaller devices