added layout attributes to event items