fix overlapping of charts when sliding around