made changes to layouts using media query