created a transition when tableView cell is clicked

passed data to details controller and made transition