Add stacking behaviour to category lists