added events in contentView