swapped .bind for .on, bound row click events to table