center events and update events styles