fixing event details flowing around calendar leaf