Update default.js
Lots of improvements

Better mouse directions detection, crop area is now contained to
container, no more selecting when dragging.