Here i created a working code jsfiddle link next-prev button slider.
// Add two links to HTML HTML:
<a id="prev" href="#" >Prev</a>
<a id="next" href="#" >Next</a>
JAVASCRIPT:
$("#next").click(function(){
$('#slideshow > div:first-child')
.fadeOut(1000)
.next()
.fadeIn(1000)
.end()
.appendTo('#slideshow');
});
$("#prev").click(function(){
$('#slideshow > div:first-child')
.fadeOut(1000)
$('#slideshow > div:last-child')
.prependTo('#slideshow')
.fadeOut();
$('#slideshow > div:first-child').fadeIn();
});