Made layout relative