using Kinetic.isDragging in Animation class