trying different scroll function