Handle itemsSpacing for layouts