heavily optimized a script

objects now snap when mouse is released