test scroll functions