fixed problem with re-sizing index.html