Do not emit the entries div if it is empty. The fixes some unnecessary stutter when expanding and collapsing.