new option for controlling carousel movement based on  clicking the images