performance optimization for dragging track