improve scrolling performance by registering events only once instead of once per entry