added ability to change date by clicking on calendar