Update umbrella.js

Modified snapTo(obj) for variable screen size