Add check all button in pages selector's panels
Wrap all .page-item in a <ul> parent

Add handle_empty_items() helper