refactored dynamic list styles