performance improvements on scroling