refactor list and ccontent layout.