Ported pagination template for Twitter Bootstrap from Pagerfanta