Add position to categories and subcategories