fix arrangaments of elements on index page.