improved layout for list and grid items