Added js functionality for the future carousel.