change paginator layout