Hiding pager controls when not displayed.