Support non-ajax pagination