changes mobile index layouts
implements media query for a single index item template
adds window resize re-rerendering