Having a small issue with my previous button, #prev, as it is not scrolling back to the previous image but instead to the next image. This is the script I am using: http://jquery.malsup.com/cycle/int2.html
Additionally, when I try to set the width of the images to 100%, they disappear.
You can see a live view of my slider here.
$('#slider').cycle({
fx: 'scrollLeft',
speed: 'slow',
timeout: 5000,
next: '#next',
prev: '#prev'
});
<div class="page-wrapper">
<div class="controller" id="prev">
<i class="fa fa-arrow-left"></i>
</div>
<div id="slider">
<a href=""><img src="http://placehold.it/1280x300"></a>
<a href=""><img src="http://placehold.it/1280x300"></a>
<a href=""><img src="http://placehold.it/1280x300"></a>
</div>
<div class="controller" id="next">
<i class="fa fa-arrow-right"></i>
</div>
</div>