Simplify pagination HMTL