small calendar panel fix courtesy of richardo hayeso.
Merge pull request #269 from jkuk/master

richard fixed something in calendar panel