added loop option, if set to false then the superslides do not loop from the last to the first slide or vice versa