fixed the layout of the htmls in small screen