added graphs_page.events handler