Fixed foundation pagination

Fixed foundation pagination