Custom pager controls: fix control updates for multiple tables

see http://stackoverflow.com/q/25805547