Refactored item lists to simplify code and allow more than two sections in each list.