fixed bug with energy graph zoom