Implemented server side pagination code for /tabs page