added nav and library.each to display