Potential energy transforms to kinetic energy on the way down. An object has kinetic energy when it's moving which turns back into potential energy at the top… [The carriage moves up and down ...
As the book gets faster it gains more kinetic energy and loses more potential energy. Just before it hits the floor all the gravitational potential energy has been converted to kinetic energy.