Udated index.html to center when resizing.