made expandedAdjacent sensible to device orientation change