configure image/text layout on main page