A lil' js cleanup
Fix bug with calendar scrolling

While day view was shown, clicking header to view next/previous months was breaking.