Add snap-to-browser-top-when-within-proximity effects to elements