fixed prev/next buttons only moving 6 days instead of a week on charts