Adjusted rating chart scaling on window resize