     // prep for view message scene
     func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
         let message = messages[indexPath.row]
-
+        
         self.performSegue(withIdentifier: "viewSnapSegue", sender: message)
-
+        tableView.deselectRow(at: indexPath, animated: false)
     }
 
     override func prepare(for segue: UIStoryboardSegue, sender: Any?) {

    }



    @IBAction func tappedLogout(_ sender: Any) {
        dismiss(animated: true, completion: nil)
    }

    @IBOutlet weak var tableView: UITableView!

    var messages : [Message] = []


    override func viewDidLoad() {
        super.viewDidLoad()
