change the lib from scrollview to table view and addressed a bug that tableview is still editing when the view disappearing