renamed calendar page, added sidebar logic