update addItem API

so that new slides get added to the end of the carousel