Added public changeslide method