onCurrentElementChange event handlers