pull pagination to right
do not show pagination if count of pages is less than 1
disable active and disabled links