updated categoryFilter component