updating side scale on click
bars changing in side chart