add prev/next buttons on bar-chart page