improve event rendering in  calendar