Refactoring rollover icon code for reuse between lists.