Update dirPagination.js

Added showPaginationResult function to show the result of pagination.