Style fix
Pagination template fix