Moving Paginator to Component