I try this code, but doesn't to loop(back to first image after last image). Any suggestion?