Save scroll position when leaving the activity