Adding no results view option, hiding pagination if there is only one page