implemented navigation by click on bar graph