showDetailPage method