refactored view to use partial for category lists