Determines whether the Previous and Next buttons are displayed