update carousel.js

Significant changes to slider functionality.