more code reuse refactoring

collapsed all votebars reset to resetVoteBars();