Update carousel.js

Adding in flags to see if animation is happening when you click next or previous. To prevent mouse clicking happy user from pressing buttons repeatedly and breaking animation.