refactored testScroll to use eleSerialize