Added slide index for class slides