re-adding BookDetails function for populating book details popup