finalized pagination style