Adjacency function in location, changes in expand state