refactored carousel and controlls