Add Class to manage Cookie and Fix Pagination Design