implemented pagination and responsive