Updated show and hide trigger