My own version of a responsive javascript carousel that doesn't have any built in styles