carousel widget written in javascript and css 3d transformations