uniqname/postpone — pull request #2 by shichongrui (2014-10-30 19:40:23+00:00)
Title: Fixed issue where the distance to in view was always saying that it was in the view

So before, Math.max was getting an extra 0 as a parameter which would always win and then minus the variance from that would always result in the distanceFromTrigger to always be less than 0. So I removed the 0.

There was also another bug where if an img is not in the view yet, the Math.max call would return a negative number. Then you subtract the variance from there and it's always a negative number. So this is backwards from the desired functionality which is why I added the -1 * there.