added custom adapter and layout for list view