Fix calendar loading and go to eventpage when eventclicking on calendar