Moved paginator to layouts directory