Made iteration a slider