How rising energy costs factored into Virginia's elections photo