issue fixed by reverting jQuery Tools to v1.2.5 from v1.2.7
I have used the following code to detect when it reaches the end, then to scroll to the beginning of the item list once the end is reached.
var $scroller = $('.scrollable').scrollable({onBeforeSeek:carousel}).autoscroll().data('scrollable');
$items = $('.scrollable .items div');
function carousel(e, idx) {
// set this to 4 so it stops after 4 items
if(idx > $scroller.getSize() - 4) {
// return the beginning
$scroller.seekTo(0).stop();
// stop when we reach the end
return false;
}
}