Support overlaps-fold and overlaps-top.

Support overlaps-fold and overlaps-top which tells us if an element is overlapping one of the borders.