added button to each slide