Horizontal list combined with short list?

I need help. I’m trying to have a Horizontal List with “Categories” and when the user press Item A the vertical list (Services) below changes to Services with that Selected/ pressed category. Is that possible?

Since the “selectable list" gets so full downwards, it would be great if that also was horizontal.

Regards,
Aleksander.