changes to view election page