use _.indexBy
find duplicates, toggle state and update display via css