added active class to library button in the nav when in the library page