Implement lazyloading for items with data-bg-src and data-src

Carousel items (or child items) with a data-bg-src or data-src attribute
will automatically have those images loaded whenever the item is either
previous or next to the current item.