remove ul when no more items