Set scroll view delegate to nil when dealloc to prevent crash.