edited layout, added proper display of list items