Added behavior on different events for the more/less button refs #18877