JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://cloud.github.com/downloads/malsup/cycle/jquery.cycle.all.2.72.js"></script>
<script src="http://malsup.github.com/jquery.easing.1.1.1.js"></script>
<div id="s2" class="pics">
<img src="http://cloud.github.com/downloads/malsup/cycle/beach1.jpg" width="200" height="200" />
<img src="http://cloud.github.com/downloads/malsup/cycle/beach2.jpg" width="200" height="200" />
<img src="http://cloud.github.com/downloads/malsup/cycle/beach3.jpg" width="200" height="200" />
</div>
<div class="nav"><a href="#" id="prev2">Prev</a> <a href="#" id="next2">Next</a></div>
JavaScript
$(function() {
$('#s2').cycle({
fx: 'scrollHorz',
speed: 'fast',
timeout: 0,
next: '#next2',
prev: '#prev2'
});
});