added a tally function and the slideout controls into dateCtrl