Issue: initial_size always 0

options.initial_size = $this.find('.collection-items')... would always be set to 0 since it couldn't find the '.collection_items' element , fixed with $this.parent().next('.collection-items')...