beginning of crazy reconstruction to user rails layout properly
created three different layouts for different yield points