Update umbrella.js

Improved resizing and snapping behavior