fixed chart scrolling issue