Fixed display bug so pagination has line break before it