[AG] adding changes for validating scroll functionality