create index view for events and add styling