Updated tableView property to scrollView as the control can be added to any scrollview