change number of slides