save css and paginating