attempting to fix problem with dom elements duplicating on carousel scrolling