anchor.diff:  
     //- right surrounding pages displayed if current page < (bottom-1)
     - for (var i=1 ; i <= PAGES_INTERVAL; i++) {
  -  -   if ((max_page - current) > i )
  +  -   if ((max - current) > i )
           - params.page = current + i
           li.pgn__item
             a.pgn__link(href=self.link_to(route, params)) #{current + i}
  
positive.code: 
    //- right ellipsis displayed, if > 1 pages exists between right
    //- tail of "surrounding" pages and the last one.
    - if (max_page - current > PAGES_INTERVAL + 1)
      li.pgn__item.interval.dropdown
        - delete(params.page)
        a.pgn__link.dropdown-toggle(
  
negative.code: 
    //- last page always displayed, except it's current one
    //- (then we skip last half of paginator)
    - if (max - current !== 0)
      - params.page = max
      li.pgn__item
        a.pgn__link(href=self.link_to(route, params)) #{max}
  
  //- restore page
  - params.page = _page