add slider and attachment loop