relocate dirlist.tpl && sync code with lego-widgets