-Applied pagination design and updated functionality