added carousel ul swap depending on browser size and added infinite looping