reverse books array