add slide to go back method