add top-anchor support