fix N_SE-25920. add press/unpress callback to panes