added cycle config paramter for infinite carousel