trailing or leading days fix

clicking trailing or leading days from previous/next month was being mod'ed by the number of days in the current month. e.g. if in feb-2013 and click jan 29, would return jan 1; jan 30 => jan 2, etc.