clickable items in hlists, refactoring