Hooking up server side paging for layers table