Update carousel.js

fixed bug with left arrow disappearance on window resize