[sidebar] Changed the way voting badge is added to the sidebar. Closes #...

...460.