fixed the layout for list and image issue