fixed bar chart scrollbar bug