adding jquery and removing last slide