Tableview added and gesture recognizer from Main view to table view