Fix pagination buttons. Now display al available buttons

Signed-off-by: Roger Manich <roger.manich@gmail.com>