made some changes in the carousel control