improve example-slim: use registerViews