paginate css and header fix