Modify demo activity to show how use scroll listener