refactored list fragment to organize methods and clean up white space.

refactor list fragment