rename delegate method
connect the scrollview's outlet to sample view controller
refactoring: remove unused code , rename variables