Added optional chart and prev/next timeline functionality