rewrite the logic behind displaying votes on/off