Add capability to set threshold.

This commit adds new functionality to postpone. You can now set the
threshold, the distance before an edge at which an element should be
considered to be at the edge and loaded. The threshold can be specified
in either `vh` or `px` units.