added the loading book code
moved action listener for next slide button and stopped crash on null
book