add trigger event to show right panel