Removed duplicate dragBehavior code.