making it auto move from one slide to the other