added availability to library show page