added no-loop feature

this feature is usefull to enable stopping the loop when carousel is at
the last slide