Improved tab menu for library#index