Added function to execute a block of code when scrolling of a UIScrollView/UITableView stops