Stick elements to the edge of the viewport when they scroll off the screen