[layouts] introduce "pin" feature for tree manager