move chart on click