removed isDragging boolean