refactor demo page for long text