add word detail page and pagination