Layout awerness class