render a wp gallery object as a bootstrap carousel