Changed sidebar to use paginator