Use closures to simplify rollover event creation.
Factor out label-creation logic.