added single date mode panning