Issue adjusting custom code for CMS Draggable slider

Hi, I am trying to get this CMS draggable slider to work without a cms collection inside of it.
Currently it seems to only pull if a CMS collection is inside…

It is taken from a T.RICKS cloneable project:

I am not having any luck - it seems like the size is being set by how many items are inside the collection.

Help would be really appreciated.