made barchart navigable