create table view cell and handle gesture