Make page-numbers component invisible when there are no elements to display