set pagination height to min-height