pagination event handler now triggers on the button, not only the button...

... text.