var i = 1;
$('#right').click(function(){
$('img').attr('src',arr[i]['logo']);
i++
});
so far I can only do until here, there are still 2 missing requirements. I want the infinite loop, means it goes back to the 1 when it clicked the 4th item. The other one is the back button.