More code in place for new pagination widget