add UP/DOWN pagination type