added click event to tr