Add numPagesToShow and showFL

Perhaps add something like this. I have not tested it with totalPages less then 10 yet. With more pages it works perfect.