udpated list component to add a default layout