forked from: Drag snap

+ check pile blocks
+ add collision detection
but I don't understand why can't snap...