updates index to work better on mobile.