added test scroll func