prevent the paging if at beginning or end of paginated pages

@hippee-lee or @tsanko - apparently the click event is still active when the disabled class is displayed on the button for pagination.   this could prevents the paging from occuring if it shouldn't occur.