added key handling for left and right keys to page the dates