fixed pagination, updated style