Handle no items and no footer scenario