refactored left margin for events