improve scrolling and item panning