clicking on classes in timegrid/clicking on events general functionality added