working on the arrow clicks for dates in user