Changed layout of calendar on photos page. Bugfixes for calendar page.