add first&last page link .
add directory.
fix search-form toggle.
add library search.