click displays text view