switch onshow event to jQuery event system