changed scroll function to stream container not stream