made table rows click to view