modified carousel to respond to touch events